<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html>
    <head>
        <title>{% $title %}</title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    </head>
    <body>
        <table width="80%" border="1"  align="center" >
            
          {% foreach item=item from=$guest_books %}
            <tr >
            <td width ="20%">{% $item['nickname'] %}</td>
            <td width ="60%">{% $item['content'] %}</td>
            <td width ="20%">
                <a  href="guest_book_reply.php?id={% $item['id'] %}"> 回复</a> &nbsp;&nbsp;&nbsp;
                <a  href="guest_book_reply.php?id={% $item['id'] %}">删除</a>
            </td>
            </tr>
            
          {% /foreach %} 
        </table>
        <center>
共 {% $pageTotalNum %} 页 当前第 <span id="number">{% $page %}</span> 页 
<span id="theFirstPage"><a href="guest_book_admin.php?page=1">第一页</a></span> 
<span id="thePrePage"><a href="guest_book_admin.php?page={% $prePage %}">上一页</a></span> 
<span id="theNextPage"><a href="guest_book_admin.php?page={% $nextPage %}">下一页</a></span> 
<span id="theLastPage"><a href="guest_book_admin.php?page={% $pageTotalNum %}">最后一页</a></span> 

</center>
    </body>
</html>
